import instance from '@/utils/request'

export function loginApi(data) {
  return instance({
    url: '/sys/login',
    method: 'post',
    data
  })
}

export function getUserInfo() {
  return instance({
    url: '/sys/profile',
    method: 'post'
  })
}

export function logout() {
 
}
